import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class GlobalConfigsService {
  public readonly serverUrl = 'http://127.0.0.1:3000/';
  private readonly version = 'v1';
  getLoginUrl(): string {
    return this.serverUrl + `api/${this.version}/user`;
  }
  getSingUpUrl(): string {
    return this.serverUrl + `api/${this.version}/user/new`;
  }
}
